import request from '@/utils/request'

// 查询EduSchoolBankCard列表
export function listEduSchoolBankCard(query) {
return request({
url: '/api/v1/edu/finance/bankcardList',
method: 'get',
params: query
})
}

// 查询EduSchoolBankCard详细
export function getEduSchoolBankCard (bankCardId) {
return request({
url: '/api/v1/edu/finance/bankcard/' + bankCardId,
method: 'get'
})
}


// 新增EduSchoolBankCard
export function addEduSchoolBankCard(data) {
return request({
url: '/api/v1/edu/finance/bankcard',
method: 'post',
data: data
})
}

// 修改EduSchoolBankCard
export function updateEduSchoolBankCard(data) {
return request({
url: '/api/v1/edu/finance/bankcard',
method: 'put',
data: data
})
}

// 删除EduSchoolBankCard
export function delEduSchoolBankCard(bankCardId) {
return request({
url: '/api/v1/edu/finance/bankcard/' + bankCardId,
method: 'delete'
})
}
